<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var arr = [5,3,1,55,11,5,6,3,55,88];
			var brr = [];
			for(var i=0;i<arr.length;i++){
				if(brr.indexOf(arr[i])==-1){
					brr.push(arr[i])
				}
			}
			for(var i=0;i<arr.length;i++){
				if(!brr.includes(arr[i])){
					brr.push(arr[i])
				}
			}
			document.write(brr)
		</script>
	</body>
</html>
